package mafia.younoodle.ilovemystuff.data;

import java.util.ArrayList;

public final class DataFetcher {
	
	public ArrayList<Category> getCategories() {
		// FIXME activate this..
//		return getSubCategories(null);

		ArrayList<Category> result = new ArrayList<Category>();
		
		// TOOD make these real!
		result.add(new Category(1, "Electronics", 0));
		result.add(new Category(2, "Car", 0));
		result.add(new Category(3, "Jewelry", 0));
		result.add(new Category(4, "Fashion", 0));
		
		return result;
	}
	
	public ArrayList<Category> getSubCategories(String parent) {
		ArrayList<Category> result = new ArrayList<Category>();
		
		// TOOD make these real!
		result.add(new Category(1, "Handset", 0));
		result.add(new Category(1, "Camera", 0));
		result.add(new Category(1, "Game", 0));
		
		return result;
	}
}
